-- GENERATED SPELL FOR [Saltstone Basilisk] --


function spell0_4147(pUnit, Event) --@Crystalline Slumber,n/a--
pUnit:FullCastSpellOnTarget(3636,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4147', 17000, 1)
end

function Sorts_4147(pUnit, Event)
local choix_sorts_4147 = math.random(0, 0)
if choix_sorts_4147 == 0 then
pUnit:RegisterEvent('spell0_4147', 1, 1)
end
end

function mob4147_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4147', math.random(1500, 3000), 1)
end

function mob4147_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4147_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4147_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4147, 1, 'mob4147_Action')
RegisterUnitEvent(4147, 2, 'mob4147_Leave')
RegisterUnitEvent(4147, 3, 'mob4147_Kill')
RegisterUnitEvent(4147, 4, 'mob4147_Die')
